package com.jeethink.subject.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jeethink.common.annotation.Excel;
import com.jeethink.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 课题管理对象 sys_subject
 *
 * @author Xianlu Tech
 * @date 2020-04-23
 */
public class SysSubject extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** null */
    private Long id;

    /** 课题名称 */
    @Excel(name = "课题名称")
    private String name;

    /** 创建人id */
    @Excel(name = "创建人id")
    private Long creatuserid;

    /** 创建人姓名 */
    @Excel(name = "创建人姓名")
    private String creatusername;

    /** 负责人id */
    @Excel(name = "负责人id")
    private Long principalid;

    /** 负责人姓名 */
    @Excel(name = "负责人姓名")
    private String principalname;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private String isdel;

    /** 创建日期 */
    @Excel(name = "创建日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date creatdate;

    /** 修改日期 */
    @Excel(name = "修改日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updatedate;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentid;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String studentname;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return id;
    }
    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }
    public void setCreatuserid(Long creatuserid) {
        this.creatuserid = creatuserid;
    }

    public Long getCreatuserid() {
        return creatuserid;
    }
    public void setCreatusername(String creatusername) {
        this.creatusername = creatusername;
    }

    public String getCreatusername() {
        return creatusername;
    }
    public void setPrincipalid(Long principalid) {
        this.principalid = principalid;
    }

    public Long getPrincipalid() {
        return principalid;
    }
    public void setPrincipalname(String principalname) {
        this.principalname = principalname;
    }

    public String getPrincipalname() {
        return principalname;
    }
    public void setIsdel(String isdel) {
        this.isdel = isdel;
    }

    public String getIsdel() {
        return isdel;
    }
    public void setCreatdate(Date creatdate) {
        this.creatdate = creatdate;
    }

    public Date getCreatdate() {
        return creatdate;
    }
    public void setUpdatedate(Date updatedate) {
        this.updatedate = updatedate;
    }

    public Date getUpdatedate() {
        return updatedate;
    }
    public void setStudentid(Long studentid) {
        this.studentid = studentid;
    }

    public Long getStudentid() {
        return studentid;
    }
    public void setStudentname(String studentname) {
        this.studentname = studentname;
    }

    public String getStudentname() {
        return studentname;
    }
    public void setStatus(Long status) {
        this.status = status;
    }

    public Long getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("creatuserid", getCreatuserid())
            .append("creatusername", getCreatusername())
            .append("principalid", getPrincipalid())
            .append("principalname", getPrincipalname())
            .append("isdel", getIsdel())
            .append("creatdate", getCreatdate())
            .append("updatedate", getUpdatedate())
            .append("studentid", getStudentid())
            .append("studentname", getStudentname())
            .append("status", getStatus())
            .toString();
    }
}
